#set($module = "/menu")
#set($dataTables = {"isDelete":true,
					"fields":[
						{"data":"id","title":"ID","isNeed":true},
						{"data":"name","title":"名称","isShow":true,"isAdd":true,"isUpdate":true,"isNeed":true,"isSearch":true},
						{"data":"type","title":"类型","isShow":true,"isAdd":true,"isUpdate":true,"isNeed":true,"isSearch":true,"dataSources":${menuTypes}},
						{"data":"url","title":"菜单url","isShow":true,"isAdd":true,"isUpdate":true},
						{"data":"permission","title":"权限","isShow":true,"isAdd":true,"isUpdate":true,"isSearch":true},
						{"data":"icon","title":"菜单图标","isShow":true,"isAdd":true,"isUpdate":true,"dataSources":${menuIcons},"render":"function(data,type,row,meta) {return '<i class=\''+row['icon']+'\'>&nbsp;'+row['icon']+'</i>';}"},
						{"data":"orderNum","title":"排序","isShow":true,"isAdd":true,"isUpdate":true,"isNeed":true},
						{"data":"parentId","title":"父菜单","isShow":true,"isAdd":true,"isUpdate":true,"isNeed":true,"isSearch":true,"dataSources":${allMenus}}
					]})
<div class="row">
	<div class="col-xs-12">
		#parse("/WEB-INF/views/common/DataTables.html")
		<!-- /.box -->
	</div>
	<!-- /.col -->
</div>
#parse("/WEB-INF/views/common/DataTablesScript.html")